#coding=utf-8
import  time
from selenium import webdriver
#定义类
class SleepUtil(object):

    one_time = 1
    two_time = 2
    three_time =3
    four_time = 4
    five_time = 5
    ten_time = 10

    #强制休眠等待
    def Sleeps (sleep_times):
        time.sleep(sleep_times)

        pass
    #智能休眠
    def ImpLicitly_Wait (number,driver):
        driver.implicitly_wait(number)
        pass